import axios from '../axios'

export function getHome(){
    return axios.get('/data/index')
}

export function getDetail(params) {
    console.log('paras',params);
    return axios.get('/data/detail',{
        params:{
            id:params.id
        }
    })
}